package io.sage.modules.sensor.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysSensorConfigurationExample {
    /**
     * sys_sensor_configuration
     */
    protected String orderByClause;

    /**
     * sys_sensor_configuration
     */
    protected boolean distinct;

    /**
     * sys_sensor_configuration
     */
    protected List<Criteria> oredCriteria;

    public SysSensorConfigurationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * sys_sensor_configuration 2019-06-20
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSensorNameIsNull() {
            addCriterion("sensor_name is null");
            return (Criteria) this;
        }

        public Criteria andSensorNameIsNotNull() {
            addCriterion("sensor_name is not null");
            return (Criteria) this;
        }

        public Criteria andSensorNameEqualTo(String value) {
            addCriterion("sensor_name =", value, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameNotEqualTo(String value) {
            addCriterion("sensor_name <>", value, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameGreaterThan(String value) {
            addCriterion("sensor_name >", value, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameGreaterThanOrEqualTo(String value) {
            addCriterion("sensor_name >=", value, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameLessThan(String value) {
            addCriterion("sensor_name <", value, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameLessThanOrEqualTo(String value) {
            addCriterion("sensor_name <=", value, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameLike(String value) {
            addCriterion("sensor_name like", value, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameNotLike(String value) {
            addCriterion("sensor_name not like", value, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameIn(List<String> values) {
            addCriterion("sensor_name in", values, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameNotIn(List<String> values) {
            addCriterion("sensor_name not in", values, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameBetween(String value1, String value2) {
            addCriterion("sensor_name between", value1, value2, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorNameNotBetween(String value1, String value2) {
            addCriterion("sensor_name not between", value1, value2, "sensorName");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryIsNull() {
            addCriterion("sensor_factory is null");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryIsNotNull() {
            addCriterion("sensor_factory is not null");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryEqualTo(String value) {
            addCriterion("sensor_factory =", value, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryNotEqualTo(String value) {
            addCriterion("sensor_factory <>", value, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryGreaterThan(String value) {
            addCriterion("sensor_factory >", value, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryGreaterThanOrEqualTo(String value) {
            addCriterion("sensor_factory >=", value, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryLessThan(String value) {
            addCriterion("sensor_factory <", value, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryLessThanOrEqualTo(String value) {
            addCriterion("sensor_factory <=", value, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryLike(String value) {
            addCriterion("sensor_factory like", value, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryNotLike(String value) {
            addCriterion("sensor_factory not like", value, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryIn(List<String> values) {
            addCriterion("sensor_factory in", values, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryNotIn(List<String> values) {
            addCriterion("sensor_factory not in", values, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryBetween(String value1, String value2) {
            addCriterion("sensor_factory between", value1, value2, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSensorFactoryNotBetween(String value1, String value2) {
            addCriterion("sensor_factory not between", value1, value2, "sensorFactory");
            return (Criteria) this;
        }

        public Criteria andSerialPortIsNull() {
            addCriterion("serial_port is null");
            return (Criteria) this;
        }

        public Criteria andSerialPortIsNotNull() {
            addCriterion("serial_port is not null");
            return (Criteria) this;
        }

        public Criteria andSerialPortEqualTo(String value) {
            addCriterion("serial_port =", value, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortNotEqualTo(String value) {
            addCriterion("serial_port <>", value, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortGreaterThan(String value) {
            addCriterion("serial_port >", value, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortGreaterThanOrEqualTo(String value) {
            addCriterion("serial_port >=", value, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortLessThan(String value) {
            addCriterion("serial_port <", value, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortLessThanOrEqualTo(String value) {
            addCriterion("serial_port <=", value, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortLike(String value) {
            addCriterion("serial_port like", value, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortNotLike(String value) {
            addCriterion("serial_port not like", value, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortIn(List<String> values) {
            addCriterion("serial_port in", values, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortNotIn(List<String> values) {
            addCriterion("serial_port not in", values, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortBetween(String value1, String value2) {
            addCriterion("serial_port between", value1, value2, "serialPort");
            return (Criteria) this;
        }

        public Criteria andSerialPortNotBetween(String value1, String value2) {
            addCriterion("serial_port not between", value1, value2, "serialPort");
            return (Criteria) this;
        }

        public Criteria andBaudRateIsNull() {
            addCriterion("baud_rate is null");
            return (Criteria) this;
        }

        public Criteria andBaudRateIsNotNull() {
            addCriterion("baud_rate is not null");
            return (Criteria) this;
        }

        public Criteria andBaudRateEqualTo(String value) {
            addCriterion("baud_rate =", value, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateNotEqualTo(String value) {
            addCriterion("baud_rate <>", value, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateGreaterThan(String value) {
            addCriterion("baud_rate >", value, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateGreaterThanOrEqualTo(String value) {
            addCriterion("baud_rate >=", value, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateLessThan(String value) {
            addCriterion("baud_rate <", value, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateLessThanOrEqualTo(String value) {
            addCriterion("baud_rate <=", value, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateLike(String value) {
            addCriterion("baud_rate like", value, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateNotLike(String value) {
            addCriterion("baud_rate not like", value, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateIn(List<String> values) {
            addCriterion("baud_rate in", values, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateNotIn(List<String> values) {
            addCriterion("baud_rate not in", values, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateBetween(String value1, String value2) {
            addCriterion("baud_rate between", value1, value2, "baudRate");
            return (Criteria) this;
        }

        public Criteria andBaudRateNotBetween(String value1, String value2) {
            addCriterion("baud_rate not between", value1, value2, "baudRate");
            return (Criteria) this;
        }

        public Criteria andCheckIsNull() {
            addCriterion("check is null");
            return (Criteria) this;
        }

        public Criteria andCheckIsNotNull() {
            addCriterion("check is not null");
            return (Criteria) this;
        }

        public Criteria andCheckEqualTo(String value) {
            addCriterion("check =", value, "check");
            return (Criteria) this;
        }

        public Criteria andCheckNotEqualTo(String value) {
            addCriterion("check <>", value, "check");
            return (Criteria) this;
        }

        public Criteria andCheckGreaterThan(String value) {
            addCriterion("check >", value, "check");
            return (Criteria) this;
        }

        public Criteria andCheckGreaterThanOrEqualTo(String value) {
            addCriterion("check >=", value, "check");
            return (Criteria) this;
        }

        public Criteria andCheckLessThan(String value) {
            addCriterion("check <", value, "check");
            return (Criteria) this;
        }

        public Criteria andCheckLessThanOrEqualTo(String value) {
            addCriterion("check <=", value, "check");
            return (Criteria) this;
        }

        public Criteria andCheckLike(String value) {
            addCriterion("check like", value, "check");
            return (Criteria) this;
        }

        public Criteria andCheckNotLike(String value) {
            addCriterion("check not like", value, "check");
            return (Criteria) this;
        }

        public Criteria andCheckIn(List<String> values) {
            addCriterion("check in", values, "check");
            return (Criteria) this;
        }

        public Criteria andCheckNotIn(List<String> values) {
            addCriterion("check not in", values, "check");
            return (Criteria) this;
        }

        public Criteria andCheckBetween(String value1, String value2) {
            addCriterion("check between", value1, value2, "check");
            return (Criteria) this;
        }

        public Criteria andCheckNotBetween(String value1, String value2) {
            addCriterion("check not between", value1, value2, "check");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusIsNull() {
            addCriterion("connection_status is null");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusIsNotNull() {
            addCriterion("connection_status is not null");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusEqualTo(Integer value) {
            addCriterion("connection_status =", value, "connectionStatus");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusNotEqualTo(Integer value) {
            addCriterion("connection_status <>", value, "connectionStatus");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusGreaterThan(Integer value) {
            addCriterion("connection_status >", value, "connectionStatus");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("connection_status >=", value, "connectionStatus");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusLessThan(Integer value) {
            addCriterion("connection_status <", value, "connectionStatus");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusLessThanOrEqualTo(Integer value) {
            addCriterion("connection_status <=", value, "connectionStatus");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusIn(List<Integer> values) {
            addCriterion("connection_status in", values, "connectionStatus");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusNotIn(List<Integer> values) {
            addCriterion("connection_status not in", values, "connectionStatus");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusBetween(Integer value1, Integer value2) {
            addCriterion("connection_status between", value1, value2, "connectionStatus");
            return (Criteria) this;
        }

        public Criteria andConnectionStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("connection_status not between", value1, value2, "connectionStatus");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressIsNull() {
            addCriterion("inquiry_com_address is null");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressIsNotNull() {
            addCriterion("inquiry_com_address is not null");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressEqualTo(String value) {
            addCriterion("inquiry_com_address =", value, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressNotEqualTo(String value) {
            addCriterion("inquiry_com_address <>", value, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressGreaterThan(String value) {
            addCriterion("inquiry_com_address >", value, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressGreaterThanOrEqualTo(String value) {
            addCriterion("inquiry_com_address >=", value, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressLessThan(String value) {
            addCriterion("inquiry_com_address <", value, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressLessThanOrEqualTo(String value) {
            addCriterion("inquiry_com_address <=", value, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressLike(String value) {
            addCriterion("inquiry_com_address like", value, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressNotLike(String value) {
            addCriterion("inquiry_com_address not like", value, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressIn(List<String> values) {
            addCriterion("inquiry_com_address in", values, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressNotIn(List<String> values) {
            addCriterion("inquiry_com_address not in", values, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressBetween(String value1, String value2) {
            addCriterion("inquiry_com_address between", value1, value2, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andInquiryComAddressNotBetween(String value1, String value2) {
            addCriterion("inquiry_com_address not between", value1, value2, "inquiryComAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressIsNull() {
            addCriterion("com_address is null");
            return (Criteria) this;
        }

        public Criteria andComAddressIsNotNull() {
            addCriterion("com_address is not null");
            return (Criteria) this;
        }

        public Criteria andComAddressEqualTo(String value) {
            addCriterion("com_address =", value, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressNotEqualTo(String value) {
            addCriterion("com_address <>", value, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressGreaterThan(String value) {
            addCriterion("com_address >", value, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressGreaterThanOrEqualTo(String value) {
            addCriterion("com_address >=", value, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressLessThan(String value) {
            addCriterion("com_address <", value, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressLessThanOrEqualTo(String value) {
            addCriterion("com_address <=", value, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressLike(String value) {
            addCriterion("com_address like", value, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressNotLike(String value) {
            addCriterion("com_address not like", value, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressIn(List<String> values) {
            addCriterion("com_address in", values, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressNotIn(List<String> values) {
            addCriterion("com_address not in", values, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressBetween(String value1, String value2) {
            addCriterion("com_address between", value1, value2, "comAddress");
            return (Criteria) this;
        }

        public Criteria andComAddressNotBetween(String value1, String value2) {
            addCriterion("com_address not between", value1, value2, "comAddress");
            return (Criteria) this;
        }

        public Criteria andQuerySensorIsNull() {
            addCriterion("query_sensor is null");
            return (Criteria) this;
        }

        public Criteria andQuerySensorIsNotNull() {
            addCriterion("query_sensor is not null");
            return (Criteria) this;
        }

        public Criteria andQuerySensorEqualTo(String value) {
            addCriterion("query_sensor =", value, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorNotEqualTo(String value) {
            addCriterion("query_sensor <>", value, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorGreaterThan(String value) {
            addCriterion("query_sensor >", value, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorGreaterThanOrEqualTo(String value) {
            addCriterion("query_sensor >=", value, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorLessThan(String value) {
            addCriterion("query_sensor <", value, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorLessThanOrEqualTo(String value) {
            addCriterion("query_sensor <=", value, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorLike(String value) {
            addCriterion("query_sensor like", value, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorNotLike(String value) {
            addCriterion("query_sensor not like", value, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorIn(List<String> values) {
            addCriterion("query_sensor in", values, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorNotIn(List<String> values) {
            addCriterion("query_sensor not in", values, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorBetween(String value1, String value2) {
            addCriterion("query_sensor between", value1, value2, "querySensor");
            return (Criteria) this;
        }

        public Criteria andQuerySensorNotBetween(String value1, String value2) {
            addCriterion("query_sensor not between", value1, value2, "querySensor");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andDisFlagIsNull() {
            addCriterion("dis_flag is null");
            return (Criteria) this;
        }

        public Criteria andDisFlagIsNotNull() {
            addCriterion("dis_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDisFlagEqualTo(Integer value) {
            addCriterion("dis_flag =", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagNotEqualTo(Integer value) {
            addCriterion("dis_flag <>", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagGreaterThan(Integer value) {
            addCriterion("dis_flag >", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("dis_flag >=", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagLessThan(Integer value) {
            addCriterion("dis_flag <", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagLessThanOrEqualTo(Integer value) {
            addCriterion("dis_flag <=", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagIn(List<Integer> values) {
            addCriterion("dis_flag in", values, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagNotIn(List<Integer> values) {
            addCriterion("dis_flag not in", values, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagBetween(Integer value1, Integer value2) {
            addCriterion("dis_flag between", value1, value2, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("dis_flag not between", value1, value2, "disFlag");
            return (Criteria) this;
        }
    }

    /**
     * sys_sensor_configuration
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * sys_sensor_configuration 2019-06-20
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}